package com.hanhan.chargingpile.stations.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.hanhan.chargingpile.stations.pojo.entity.ChargingPile;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hanhan.chargingpile.stations.pojo.vo.ChargingPileVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 充电桩 Mapper 接口
 * </p>
 *
 * @author HanHan
 * @since 2023-03-22
 */
public interface ChargingPileMapper extends BaseMapper<ChargingPile> {

    IPage<ChargingPileVO> selectChargingPileList(IPage<ChargingPile> page,
                                                     @Param(Constants.WRAPPER) Wrapper<ChargingPile> wrapper);

    Integer selectTotal(Long id);
}
